package com.ruding.disruptor.utils.http;

import java.util.List;
import java.util.Map;

/**
 * http请求结果
 * @author 520475
 *
 */
public class HttpResult {

    /**
     * 返回码，-1为失败
     */
    private int statusCode = -1;

    /**
     * 返回头信息
     */
    private Map<String, List<String>> headers;

    /**
     * 返回数据体
     */
    private byte[] body;

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public Map<String, List<String>> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, List<String>> headers) {
        this.headers = headers;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }

}
